package com.aaa.operations.dao;


import com.aaa.common.entity.Room;
import com.aaa.operations.util.MyResidCache;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2020-07-29
 */
@CacheNamespace(implementation = MyResidCache.class)
@Repository
public interface RoomDao extends BaseMapper<Room> {
    List<HashMap> getAllRoom(Map map);
    List<Room> getAllStorey();
    List<Room> getAllNo(Integer roomStorey);

}
